import { createApp } from "vue";
import "@/assets/index.css";
import App from "@/App.vue";

const app = createApp(App);

/**
 *  路由器
 */
import "@/router/guards";
import router from "@/router/index";
app.use(router);

/**
 * 引入需要加载的Naive-UI组件
 */
import { naive } from "@/lib/NaiveUI";
app.use(naive);

/**
 * 引入全局状态管理Pinia
 */
import { createPinia } from "pinia";
app.use(createPinia());

/**
 *
 */
app.mount("#app");
